package com.crane.oss.sys.bean.request.role;

import com.crane.common.core.dto.PageQuery;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;


/**
 * @author bealon
 * @email ccsu123456@qq.com
 * @date 2018年12月28日 19时42分58秒
 */
@Getter
@Setter
@ToString
@ApiModel(description = "查询参数")
public class QueryRoleRequest extends PageQuery {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "name", name = "角色名称")
    private String name;

    @ApiModelProperty(value = "createUserId", name = "用户id", hidden = true)
    private Long createUserId;

    @ApiModelProperty(value = "createPartyId", name = "机构id", hidden = true)
    private Long createPartyId;

    @ApiModelProperty(value = "status", name = "机构id", hidden = true)
    private Integer status;

    @ApiModelProperty(value = "type", name = "机构id", hidden = true)
    private Integer type;

    @ApiModelProperty(value = "roles", name = "角色id", hidden = true)
    private List<Long> roles;
}
